.class public Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;
.super Ljava/lang/Object;
.source "ClickResponseHandler.java"

# interfaces
.implements Lcom/burstly/lib/component/ITrackClickResponseHandler;
.implements Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer$IOverlayListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler$1;
    }
.end annotation


# static fields
.field protected static final LOG:Lcom/burstly/lib/util/LoggerExt;

.field private static final TAG:Ljava/lang/String;


# instance fields
.field protected final mContext:Landroid/content/Context;

.field protected mController:Lcom/burstly/lib/component/IAdaptorController;

.field protected final mCurrentState:Lcom/burstly/lib/component/ComponentState;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 51
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    .line 56
    const-class v0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->TAG:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Lcom/burstly/lib/component/ComponentState;)V
    .locals 0
    .parameter "context"
    .parameter "state"

    .prologue
    .line 79
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 80
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mContext:Landroid/content/Context;

    .line 81
    iput-object p2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mCurrentState:Lcom/burstly/lib/component/ComponentState;

    .line 82
    return-void
.end method

.method private createVideoParametersObject()Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 246
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;

    invoke-direct {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;-><init>()V

    .line 247
    .local v0, params:Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;
    invoke-virtual {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;->getVideoParams()Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;

    move-result-object v1

    .line 248
    .local v1, videoParams:Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;
    invoke-virtual {v1, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;->setShowVisitButton(Z)V

    .line 249
    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;->setShowSkipButtonAfter(Ljava/lang/Integer;)V

    .line 252
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mCurrentState:Lcom/burstly/lib/component/ComponentState;

    invoke-virtual {v2}, Lcom/burstly/lib/component/ComponentState;->getResponseData()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    move-result-object v2

    invoke-virtual {v2}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getValidCbmArray()[Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;->setMiddleVideoCallback([Ljava/lang/String;)V

    .line 253
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mCurrentState:Lcom/burstly/lib/component/ComponentState;

    invoke-virtual {v2}, Lcom/burstly/lib/component/ComponentState;->getResponseData()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    move-result-object v2

    invoke-virtual {v2}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getValidCbeArray()[Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;->setEndVideoCallback([Ljava/lang/String;)V

    .line 254
    return-object v0
.end method

.method private getDestType(Lcom/burstly/lib/network/beans/TrackClickResult;)Lcom/burstly/lib/network/beans/DestinationType;
    .locals 2
    .parameter "clickResult"

    .prologue
    .line 149
    invoke-virtual {p1}, Lcom/burstly/lib/network/beans/TrackClickResult;->getDestType()Ljava/lang/Integer;

    move-result-object v0

    .line 150
    .local v0, destType:Ljava/lang/Integer;
    if-eqz v0, :cond_0

    .line 151
    :goto_0
    invoke-static {v0}, Lcom/burstly/lib/util/Utils;->getDestinationByCode(Ljava/lang/Integer;)Lcom/burstly/lib/network/beans/DestinationType;

    move-result-object v1

    return-object v1

    .line 150
    :cond_0
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mCurrentState:Lcom/burstly/lib/component/ComponentState;

    invoke-virtual {v1}, Lcom/burstly/lib/component/ComponentState;->getResponseData()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    move-result-object v1

    invoke-virtual {v1}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getDestType()Ljava/lang/Integer;

    move-result-object v0

    goto :goto_0
.end method

.method private getUrl(Lcom/burstly/lib/network/beans/TrackClickResult;)Ljava/lang/String;
    .locals 3
    .parameter "clickResult"

    .prologue
    .line 264
    invoke-virtual {p1}, Lcom/burstly/lib/network/beans/TrackClickResult;->getLocation()Ljava/lang/String;

    move-result-object v0

    .line 265
    .local v0, location:Ljava/lang/String;
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->getOverridenLocationUrl()Ljava/lang/String;

    move-result-object v1

    .line 266
    .local v1, overridenLocation:Ljava/lang/String;
    if-eqz v0, :cond_0

    .line 267
    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    .line 271
    :goto_0
    return-object v2

    .line 268
    :cond_0
    if-eqz v1, :cond_1

    .line 269
    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    goto :goto_0

    .line 271
    :cond_1
    const/4 v2, 0x0

    goto :goto_0
.end method

.method private launchDefaultActivity(Ljava/lang/String;)V
    .locals 3
    .parameter "url"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/content/ActivityNotFoundException;
        }
    .end annotation

    .prologue
    .line 236
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 237
    .local v0, intent:Landroid/content/Intent;
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 238
    return-void
.end method

.method private launchVideoActivity(Ljava/lang/String;)V
    .locals 5
    .parameter "videoUrl"

    .prologue
    .line 160
    invoke-static {p1}, Lcom/burstly/lib/util/Utils;->isVideoUrl(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 161
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->createVideoParametersObject()Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;

    move-result-object v0

    .line 162
    .local v0, videoParams:Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mContext:Landroid/content/Context;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->TAG:Ljava/lang/String;

    invoke-static {v1, p1, v0, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;->showActivity(Landroid/content/Context;Ljava/lang/String;Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;Ljava/lang/String;)Z

    .line 166
    .end local v0           #videoParams:Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams;
    :goto_0
    return-void

    .line 164
    :cond_0
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->TAG:Ljava/lang/String;

    const-string v3, "Can not play video because it does not support this video format."

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    goto :goto_0
.end method


# virtual methods
.method protected getOverridenLocationUrl()Ljava/lang/String;
    .locals 1

    .prologue
    .line 280
    const/4 v0, 0x0

    return-object v0
.end method

.method public handleResponse(Lcom/burstly/lib/network/beans/TrackClickResult;Lcom/burstly/lib/component/IAdaptorController;)V
    .locals 10
    .parameter "clickResult"
    .parameter "controller"

    .prologue
    const/4 v9, 0x0

    .line 86
    iput-object p2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mController:Lcom/burstly/lib/component/IAdaptorController;

    .line 87
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->getUrl(Lcom/burstly/lib/network/beans/TrackClickResult;)Ljava/lang/String;

    move-result-object v4

    .line 88
    .local v4, url:Ljava/lang/String;
    sget-object v5, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v6, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->TAG:Ljava/lang/String;

    const-string v7, "Url to go by click is :{0}"

    const/4 v8, 0x1

    new-array v8, v8, [Ljava/lang/Object;

    aput-object v4, v8, v9

    invoke-virtual {v5, v6, v7, v8}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 89
    if-nez v4, :cond_1

    .line 90
    sget-object v5, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v6, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->TAG:Ljava/lang/String;

    const-string v7, "Invalid redirect url: null"

    new-array v8, v9, [Ljava/lang/Object;

    invoke-virtual {v5, v6, v7, v8}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 140
    :cond_0
    :goto_0
    return-void

    .line 93
    :cond_1
    const/4 v3, 0x0

    .line 94
    .local v3, fullscreenOpened:Z
    const/4 v2, 0x0

    .line 95
    .local v2, fullscreenActivityBased:Z
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->getDestType(Lcom/burstly/lib/network/beans/TrackClickResult;)Lcom/burstly/lib/network/beans/DestinationType;

    move-result-object v1

    .line 96
    .local v1, destType:Lcom/burstly/lib/network/beans/DestinationType;
    sget-object v5, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler$1;->$SwitchMap$com$burstly$lib$network$beans$DestinationType:[I

    invoke-virtual {v1}, Lcom/burstly/lib/network/beans/DestinationType;->ordinal()I

    move-result v6

    aget v5, v5, v6

    packed-switch v5, :pswitch_data_0

    .line 128
    :try_start_0
    invoke-direct {p0, v4}, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->launchDefaultActivity(Ljava/lang/String;)V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    .line 129
    const/4 v3, 0x1

    .line 130
    const/4 v2, 0x1

    .line 136
    :goto_1
    if-eqz v3, :cond_0

    .line 137
    invoke-interface {p2}, Lcom/burstly/lib/component/IAdaptorController;->getBursltlyAdListener()Lcom/burstly/lib/component/IInternalBurstlyAdListener;

    move-result-object v5

    new-instance v6, Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;

    invoke-interface {p2}, Lcom/burstly/lib/component/IAdaptorController;->getNetworkName()Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7, v2}, Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;-><init>(Ljava/lang/String;Z)V

    invoke-interface {v5, v6}, Lcom/burstly/lib/component/IInternalBurstlyAdListener;->onShowFullscreen(Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;)V

    goto :goto_0

    .line 98
    :pswitch_0
    sget-object v5, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v6, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->TAG:Ljava/lang/String;

    const-string v7, "DestType is None. Skipped post click action."

    new-array v8, v9, [Ljava/lang/Object;

    invoke-virtual {v5, v6, v7, v8}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    goto :goto_0

    .line 101
    :pswitch_1
    const/4 v3, 0x1

    .line 102
    const/4 v2, 0x1

    .line 103
    invoke-direct {p0, v4}, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->launchVideoActivity(Ljava/lang/String;)V

    goto :goto_1

    .line 106
    :pswitch_2
    const/4 v3, 0x1

    .line 107
    invoke-virtual {p0, v4}, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->showScriptInterstitial(Ljava/lang/String;)V

    goto :goto_1

    .line 113
    :pswitch_3
    const/4 v3, 0x1

    .line 114
    invoke-virtual {p0, v4}, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->showRewardsInterstitial(Ljava/lang/String;)V

    goto :goto_1

    .line 132
    :catch_0
    move-exception v0

    .line 133
    .local v0, anfe:Landroid/content/ActivityNotFoundException;
    sget-object v5, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v6, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->TAG:Ljava/lang/String;

    invoke-virtual {v0}, Landroid/content/ActivityNotFoundException;->getMessage()Ljava/lang/String;

    move-result-object v7

    new-array v8, v9, [Ljava/lang/Object;

    invoke-virtual {v5, v6, v7, v8}, Lcom/burstly/lib/util/LoggerExt;->logError(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    goto :goto_1

    .line 96
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_3
        :pswitch_3
        :pswitch_3
    .end packed-switch
.end method

.method public onCloseOverlay()V
    .locals 4

    .prologue
    .line 296
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mController:Lcom/burstly/lib/component/IAdaptorController;

    invoke-interface {v0}, Lcom/burstly/lib/component/IAdaptorController;->getBursltlyAdListener()Lcom/burstly/lib/component/IInternalBurstlyAdListener;

    move-result-object v0

    new-instance v1, Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mController:Lcom/burstly/lib/component/IAdaptorController;

    invoke-interface {v2}, Lcom/burstly/lib/component/IAdaptorController;->getNetworkName()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-direct {v1, v2, v3}, Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;-><init>(Ljava/lang/String;Z)V

    invoke-interface {v0, v1}, Lcom/burstly/lib/component/IInternalBurstlyAdListener;->onHideFullscreen(Lcom/burstly/lib/component/IBurstlyAdaptorListener$FullscreenInfo;)V

    .line 297
    return-void
.end method

.method public onShowOverlay()V
    .locals 2

    .prologue
    .line 286
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/burstly/BurstlyFullscreenActivity;->sActiveActivity:Ljava/lang/ref/Reference;

    if-eqz v1, :cond_0

    .line 287
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/burstly/BurstlyFullscreenActivity;->sActiveActivity:Ljava/lang/ref/Reference;

    invoke-virtual {v1}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    .line 288
    .local v0, currentFullscreen:Landroid/app/Activity;
    if-eqz v0, :cond_0

    .line 289
    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    .line 292
    .end local v0           #currentFullscreen:Landroid/app/Activity;
    :cond_0
    return-void
.end method

.method protected showRewardsInterstitial(Ljava/lang/String;)V
    .locals 4
    .parameter "url"

    .prologue
    .line 212
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mContext:Landroid/content/Context;

    invoke-direct {v0, v3}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;-><init>(Landroid/content/Context;)V

    .line 213
    .local v0, child:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;
    new-instance v2, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsFullscreenOverlay;

    invoke-direct {v2, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsFullscreenOverlay;-><init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;)V

    .line 221
    .local v2, view:Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;,"Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay<Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;>;"
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mCurrentState:Lcom/burstly/lib/component/ComponentState;

    invoke-virtual {v3}, Lcom/burstly/lib/component/ComponentState;->getResponseData()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    move-result-object v3

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getSkipButtonActivationTime()Ljava/lang/Integer;

    move-result-object v1

    .line 222
    .local v1, skipButtonActivationTime:Ljava/lang/Integer;
    if-eqz v1, :cond_0

    .line 223
    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v3

    mul-int/lit16 v3, v3, 0x3e8

    invoke-virtual {v2, v3}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;->setCloseButtonActivationTimeout(I)V

    .line 225
    :cond_0
    invoke-virtual {v0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->loadUrl(Ljava/lang/String;)V

    .line 226
    invoke-virtual {v2, p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;->setOverlayListener(Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer$IOverlayListener;)V

    .line 227
    invoke-virtual {v2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;->showOverlayed()V

    .line 228
    return-void
.end method

.method protected showScriptInterstitial(Ljava/lang/String;)V
    .locals 4
    .parameter "url"

    .prologue
    .line 174
    new-instance v0, Lcom/burstly/lib/util/UiSafeWebView;

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mContext:Landroid/content/Context;

    invoke-direct {v0, v3}, Lcom/burstly/lib/util/UiSafeWebView;-><init>(Landroid/content/Context;)V

    .line 175
    .local v0, child:Lcom/burstly/lib/util/UiSafeWebView;
    new-instance v2, Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;

    invoke-direct {v2, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;-><init>(Lcom/burstly/lib/util/UiSafeWebView;)V

    .line 183
    .local v2, view:Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;,"Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay<Lcom/burstly/lib/util/UiSafeWebView;>;"
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/burstly/ClickResponseHandler;->mCurrentState:Lcom/burstly/lib/component/ComponentState;

    invoke-virtual {v3}, Lcom/burstly/lib/component/ComponentState;->getResponseData()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    move-result-object v3

    invoke-virtual {v3}, Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;->getSkipButtonActivationTime()Ljava/lang/Integer;

    move-result-object v1

    .line 184
    .local v1, skipButtonActivationTime:Ljava/lang/Integer;
    if-eqz v1, :cond_0

    .line 185
    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v3

    mul-int/lit16 v3, v3, 0x3e8

    invoke-virtual {v2, v3}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;->setCloseButtonActivationTimeout(I)V

    .line 187
    :cond_0
    invoke-virtual {v2, p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;->setOverlayListener(Lcom/burstly/lib/component/networkcomponent/burstly/OverlayContainer$IOverlayListener;)V

    .line 188
    invoke-virtual {v0, p1}, Lcom/burstly/lib/util/UiSafeWebView;->loadUrl(Ljava/lang/String;)V

    .line 189
    invoke-virtual {v2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ScriptInterstitialOverlay;->showOverlayed()V

    .line 190
    return-void
.end method
